import request from '@/utils/request'
// import { makeFormData } from "@/utils/util";

const api = {
  roleTypes: 'web/staff/area_roles', // 园区角色列表
  list: 'web/classes/list' // 班级列表
}

export function getRoleTypes (params = {}, method = 'get') {
  return request({
    url: api.roleTypes,
    method,
    params
  })
}

export function getList (params = {}) {
  return request({
    url: api.list,
    method: 'post',
    params
  })
}

export function getByNameAndPhone (params = {}) {
  return request({
    url: '/tuoApi/blackList/getByNameAndPhone',
    method: 'get',
    params
  })
}

